/*
 *      Copyright (c) 2018-2028, Chill Zhuang All rights reserved.
 *
 *  Redistribution and use in source and binary forms, with or without
 *  modification, are permitted provided that the following conditions are met:
 *
 *  Redistributions of source code must retain the above copyright notice,
 *  this list of conditions and the following disclaimer.
 *  Redistributions in binary form must reproduce the above copyright
 *  notice, this list of conditions and the following disclaimer in the
 *  documentation and/or other materials provided with the distribution.
 *  Neither the name of the dreamlu.net developer nor the names of its
 *  contributors may be used to endorse or promote products derived from
 *  this software without specific prior written permission.
 *  Author: Chill 庄骞 (smallchill@163.com)
 */
package org.springblade.modules.enterprise.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.springblade.core.mp.base.BaseEntity;

import java.time.LocalDateTime;

/**
 * 文章实体类
 *
 * @author BladeX
 * @since 2021-08-09
 */
@Data
@TableName("cms_content")
@EqualsAndHashCode(callSuper = true)
@ApiModel(value = "Content对象", description = "文章")
public class Content extends BaseEntity {

	private static final long serialVersionUID = 1L;

	/**
	 * 所属栏目
	 */
	@ApiModelProperty(value = "所属栏目")
	private Long categoryId;
	/**
	 * 文章内容
	 */
	@ApiModelProperty(value = "文章内容")
	private String contentDetails;
	/**
	 * 文章标题
	 */
	@ApiModelProperty(value = "文章标题")
	private String contentTitle;
	/**
	 * 文章跳转链接地址
	 */
	@ApiModelProperty(value = "文章跳转链接地址")
	private String contentUrl;
	/**
	 * 关键字
	 */
	@ApiModelProperty(value = "关键字")
	private String contentKeyword;
	/**
	 * 描述
	 */
	@ApiModelProperty(value = "描述")
	private String contentDescription;
	/**
	 * 文章缩略图
	 */
	@ApiModelProperty(value = "文章缩略图")
	private String contentImg;
	/**
	 * 文章来源
	 */
	@ApiModelProperty(value = "文章来源")
	private String contentSource;
	/**
	 * 文章作者
	 */
	@ApiModelProperty(value = "文章作者")
	private String contentAuthor;
	/**
	 * 是否显示
	 */
	@ApiModelProperty(value = "是否显示")
	private String contentDisplay;
	/**
	 * 文章类型
	 */
	@ApiModelProperty(value = "文章类型")
	private String contentType;
	/**
	 * 发布时间
	 */
	@ApiModelProperty(value = "发布时间")
	private LocalDateTime contentDatetime;
	/**
	 * 自定义顺序
	 */
	@ApiModelProperty(value = "自定义顺序")
	private Integer contentSort;
	/**
	 * 点击次数
	 */
	@ApiModelProperty(value = "点击次数")
	private Integer contentHit;
	/**
	 * 区域管理
	 */
	@ApiModelProperty(value = "区域管理")
	private String contentArea;
	/**
	 * 文章所属行业
	 */
	@ApiModelProperty(value = "文章所属行业")
	private String contentIndustry;
	/**
	 * 文章所属产业
	 */
	@ApiModelProperty(value = "文章所属产业")
	private String contentProduct;


}
